package apollo.generator.common.base;

import java.util.HashMap;

/**
 * <Description>
 * MAP包装类配合{@link RR}使用
 * @author Jun Lee
 * @version 1.0
 * @createDate 2020/05/01 15:01
 */
public class Kmap extends HashMap {

    public Kmap data(String key, Object obj){
        this.put(key,obj);
        return this;
    }

    public R<Kmap> Builder(){
        R instance = R.getInstance();
        instance.setData(this);
        return instance;
    }

}
